package com.mycompany.virtualApp.service;

import com.mycompany.virtualApp.dao.ClickDao;
import com.mycompany.virtualApp.dao.TopDao;
import com.mycompany.virtualApp.entity.ClickDetails;
import com.mycompany.virtualApp.entity.TopEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2017/12/8 0008.
 */
@Service("clickService")
public class ClickServiceImpl implements ClickService {
    @Autowired
    private ClickDao clickDao;

    @Override
    public List<ClickDetails> selectByParam(Map<String, Object> map) {
        return clickDao.selectByParam(map);
    }

    @Override
    public int insert(ClickDetails clickDetails) {
        return clickDao.insert(clickDetails);
    }
}
